package com.zzyl.nursing.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * @author canseeu1
 * @date 2025/7/28 15:09
 */
//@Component
@Slf4j
public class Task {


    @Scheduled(cron = "0/5 * * * * ?")
    public void task1(){
        log.info("河南人都是神,承载卟败的传闻:{}", LocalDateTime.now());
    }


}
